Skip to content

Use gh pr create for update-framework workflow#1001

Merged
swissspidy merged 2 commits into
mainfrom
fix/pr-create
Apr 29, 2026
Merged

Use gh pr create for update-framework workflow#1001
swissspidy merged 2 commits into
mainfrom
fix/pr-create

Conversation

@swissspidy
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 28, 2026 13:58
@swissspidy swissspidy requested a review from a team as a code owner April 28, 2026 13:58
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the update-framework GitHub Actions workflow to open/update the “Update wp-cli framework” pull request using the GitHub CLI (gh) instead of the peter-evans/create-pull-request action, while also adding explicit workflow token permissions needed for writing to the repo and PRs.

Changes:

  • Add workflow-level permissions for contents: write and pull-requests: write.
  • Replace peter-evans/create-pull-request with a shell script that commits composer.json/composer.lock, force-pushes update-framework, and creates/edits the PR via gh.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/update-framework.yml Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy swissspidy merged commit ecc6c4c into main Apr 29, 2026
62 of 63 checks passed
@swissspidy swissspidy deleted the fix/pr-create branch April 29, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request scope:framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants